package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.ManagerMallUser;

import java.util.*;
public class ManagerMallUserExample extends SgExample<ManagerMallUserExample.Criteria> {
    public static final Class<ManagerMallUser> beanClass = ManagerMallUser.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn nick;
    public static EntityColumn password;
    public static EntityColumn haveCost;
    public static EntityColumn createTime;
    public static EntityColumn loginName;
    public static EntityColumn sex;
    public static EntityColumn headUrl;
    public static EntityColumn payPwd;
    public static EntityColumn mallUserId;
    public static EntityColumn remark;
    public static EntityColumn userType;
    public static EntityColumn status;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        nick = listMap.get("nick");
        password = listMap.get("password");
        haveCost = listMap.get("haveCost");
        createTime = listMap.get("createTime");
        loginName = listMap.get("loginName");
        sex = listMap.get("sex");
        headUrl = listMap.get("headUrl");
        payPwd = listMap.get("payPwd");
        mallUserId = listMap.get("mallUserId");
        remark = listMap.get("remark");
        userType = listMap.get("userType");
        status = listMap.get("status");
        }

    public ManagerMallUserExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected ManagerMallUserExample.Criteria createCriteriaInternal() {
        return new ManagerMallUserExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public ManagerMallUserExample.Criteria andNickIsNull() {
            return isNull(nick);
        }

        public ManagerMallUserExample.Criteria andNickIsNotNull() {
            return isNotNull(nick);
        }

        public ManagerMallUserExample.Criteria andNickEqualTo(String value) {
            return equalTo(nick, value);
        }

        public ManagerMallUserExample.Criteria andNickNotEqualTo(String value) {
            return notEqualTo(nick, value);
        }

        public ManagerMallUserExample.Criteria andNickGreaterThan(String value) {
            return greaterThan(nick, value);
        }

        public ManagerMallUserExample.Criteria andNickGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(nick, value);
        }

        public ManagerMallUserExample.Criteria andNickLessThan(String value) {
            return lessThan(nick, value);
        }

        public ManagerMallUserExample.Criteria andNickLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(nick, value);
        }

        public ManagerMallUserExample.Criteria andNickLike(String value) {
            return like(nick, value);
        }

        public ManagerMallUserExample.Criteria andNickNotLike(String value) {
            return notLike(nick, value);
        }

        public ManagerMallUserExample.Criteria andNickIn(List<String> values) {
            return in(nick, values);
        }

        public ManagerMallUserExample.Criteria andNickNotIn(List<String> values) {
            return notIn(nick, values);
        }

        public ManagerMallUserExample.Criteria andNickBetween(String value1, String value2) {
            return between(nick, value1, value2);
        }

        public ManagerMallUserExample.Criteria andNickNotBetween(String value1, String value2) {
            return notBetween(nick, value1, value2);
        }
        public ManagerMallUserExample.Criteria andPasswordIsNull() {
            return isNull(password);
        }

        public ManagerMallUserExample.Criteria andPasswordIsNotNull() {
            return isNotNull(password);
        }

        public ManagerMallUserExample.Criteria andPasswordEqualTo(String value) {
            return equalTo(password, value);
        }

        public ManagerMallUserExample.Criteria andPasswordNotEqualTo(String value) {
            return notEqualTo(password, value);
        }

        public ManagerMallUserExample.Criteria andPasswordGreaterThan(String value) {
            return greaterThan(password, value);
        }

        public ManagerMallUserExample.Criteria andPasswordGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(password, value);
        }

        public ManagerMallUserExample.Criteria andPasswordLessThan(String value) {
            return lessThan(password, value);
        }

        public ManagerMallUserExample.Criteria andPasswordLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(password, value);
        }

        public ManagerMallUserExample.Criteria andPasswordLike(String value) {
            return like(password, value);
        }

        public ManagerMallUserExample.Criteria andPasswordNotLike(String value) {
            return notLike(password, value);
        }

        public ManagerMallUserExample.Criteria andPasswordIn(List<String> values) {
            return in(password, values);
        }

        public ManagerMallUserExample.Criteria andPasswordNotIn(List<String> values) {
            return notIn(password, values);
        }

        public ManagerMallUserExample.Criteria andPasswordBetween(String value1, String value2) {
            return between(password, value1, value2);
        }

        public ManagerMallUserExample.Criteria andPasswordNotBetween(String value1, String value2) {
            return notBetween(password, value1, value2);
        }
        public ManagerMallUserExample.Criteria andHaveCostIsNull() {
            return isNull(haveCost);
        }

        public ManagerMallUserExample.Criteria andHaveCostIsNotNull() {
            return isNotNull(haveCost);
        }

        public ManagerMallUserExample.Criteria andHaveCostEqualTo(String value) {
            return equalTo(haveCost, value);
        }

        public ManagerMallUserExample.Criteria andHaveCostNotEqualTo(String value) {
            return notEqualTo(haveCost, value);
        }

        public ManagerMallUserExample.Criteria andHaveCostGreaterThan(String value) {
            return greaterThan(haveCost, value);
        }

        public ManagerMallUserExample.Criteria andHaveCostGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(haveCost, value);
        }

        public ManagerMallUserExample.Criteria andHaveCostLessThan(String value) {
            return lessThan(haveCost, value);
        }

        public ManagerMallUserExample.Criteria andHaveCostLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(haveCost, value);
        }

        public ManagerMallUserExample.Criteria andHaveCostLike(String value) {
            return like(haveCost, value);
        }

        public ManagerMallUserExample.Criteria andHaveCostNotLike(String value) {
            return notLike(haveCost, value);
        }

        public ManagerMallUserExample.Criteria andHaveCostIn(List<String> values) {
            return in(haveCost, values);
        }

        public ManagerMallUserExample.Criteria andHaveCostNotIn(List<String> values) {
            return notIn(haveCost, values);
        }

        public ManagerMallUserExample.Criteria andHaveCostBetween(String value1, String value2) {
            return between(haveCost, value1, value2);
        }

        public ManagerMallUserExample.Criteria andHaveCostNotBetween(String value1, String value2) {
            return notBetween(haveCost, value1, value2);
        }
        public ManagerMallUserExample.Criteria andCreateTimeIsNull() {
            return isNull(createTime);
        }

        public ManagerMallUserExample.Criteria andCreateTimeIsNotNull() {
            return isNotNull(createTime);
        }

        public ManagerMallUserExample.Criteria andCreateTimeEqualTo(Date value) {
            return equalTo(createTime, value);
        }

        public ManagerMallUserExample.Criteria andCreateTimeNotEqualTo(Date value) {
            return notEqualTo(createTime, value);
        }

        public ManagerMallUserExample.Criteria andCreateTimeGreaterThan(Date value) {
            return greaterThan(createTime, value);
        }

        public ManagerMallUserExample.Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(createTime, value);
        }

        public ManagerMallUserExample.Criteria andCreateTimeLessThan(Date value) {
            return lessThan(createTime, value);
        }

        public ManagerMallUserExample.Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(createTime, value);
        }

        public ManagerMallUserExample.Criteria andCreateTimeIn(List<Date> values) {
            return in(createTime, values);
        }

        public ManagerMallUserExample.Criteria andCreateTimeNotIn(List<Date> values) {
            return notIn(createTime, values);
        }

        public ManagerMallUserExample.Criteria andCreateTimeBetween(Date value1, Date value2) {
            return between(createTime, value1, value2);
        }

        public ManagerMallUserExample.Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            return notBetween(createTime, value1, value2);
        }
        public ManagerMallUserExample.Criteria andLoginNameIsNull() {
            return isNull(loginName);
        }

        public ManagerMallUserExample.Criteria andLoginNameIsNotNull() {
            return isNotNull(loginName);
        }

        public ManagerMallUserExample.Criteria andLoginNameEqualTo(String value) {
            return equalTo(loginName, value);
        }

        public ManagerMallUserExample.Criteria andLoginNameNotEqualTo(String value) {
            return notEqualTo(loginName, value);
        }

        public ManagerMallUserExample.Criteria andLoginNameGreaterThan(String value) {
            return greaterThan(loginName, value);
        }

        public ManagerMallUserExample.Criteria andLoginNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(loginName, value);
        }

        public ManagerMallUserExample.Criteria andLoginNameLessThan(String value) {
            return lessThan(loginName, value);
        }

        public ManagerMallUserExample.Criteria andLoginNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(loginName, value);
        }

        public ManagerMallUserExample.Criteria andLoginNameLike(String value) {
            return like(loginName, value);
        }

        public ManagerMallUserExample.Criteria andLoginNameNotLike(String value) {
            return notLike(loginName, value);
        }

        public ManagerMallUserExample.Criteria andLoginNameIn(List<String> values) {
            return in(loginName, values);
        }

        public ManagerMallUserExample.Criteria andLoginNameNotIn(List<String> values) {
            return notIn(loginName, values);
        }

        public ManagerMallUserExample.Criteria andLoginNameBetween(String value1, String value2) {
            return between(loginName, value1, value2);
        }

        public ManagerMallUserExample.Criteria andLoginNameNotBetween(String value1, String value2) {
            return notBetween(loginName, value1, value2);
        }
        public ManagerMallUserExample.Criteria andSexIsNull() {
            return isNull(sex);
        }

        public ManagerMallUserExample.Criteria andSexIsNotNull() {
            return isNotNull(sex);
        }

        public ManagerMallUserExample.Criteria andSexEqualTo(Integer value) {
            return equalTo(sex, value);
        }

        public ManagerMallUserExample.Criteria andSexNotEqualTo(Integer value) {
            return notEqualTo(sex, value);
        }

        public ManagerMallUserExample.Criteria andSexGreaterThan(Integer value) {
            return greaterThan(sex, value);
        }

        public ManagerMallUserExample.Criteria andSexGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(sex, value);
        }

        public ManagerMallUserExample.Criteria andSexLessThan(Integer value) {
            return lessThan(sex, value);
        }

        public ManagerMallUserExample.Criteria andSexLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(sex, value);
        }

        public ManagerMallUserExample.Criteria andSexIn(List<Integer> values) {
            return in(sex, values);
        }

        public ManagerMallUserExample.Criteria andSexNotIn(List<Integer> values) {
            return notIn(sex, values);
        }

        public ManagerMallUserExample.Criteria andSexBetween(Integer value1, Integer value2) {
            return between(sex, value1, value2);
        }

        public ManagerMallUserExample.Criteria andSexNotBetween(Integer value1, Integer value2) {
            return notBetween(sex, value1, value2);
        }
        public ManagerMallUserExample.Criteria andHeadUrlIsNull() {
            return isNull(headUrl);
        }

        public ManagerMallUserExample.Criteria andHeadUrlIsNotNull() {
            return isNotNull(headUrl);
        }

        public ManagerMallUserExample.Criteria andHeadUrlEqualTo(String value) {
            return equalTo(headUrl, value);
        }

        public ManagerMallUserExample.Criteria andHeadUrlNotEqualTo(String value) {
            return notEqualTo(headUrl, value);
        }

        public ManagerMallUserExample.Criteria andHeadUrlGreaterThan(String value) {
            return greaterThan(headUrl, value);
        }

        public ManagerMallUserExample.Criteria andHeadUrlGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(headUrl, value);
        }

        public ManagerMallUserExample.Criteria andHeadUrlLessThan(String value) {
            return lessThan(headUrl, value);
        }

        public ManagerMallUserExample.Criteria andHeadUrlLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(headUrl, value);
        }

        public ManagerMallUserExample.Criteria andHeadUrlLike(String value) {
            return like(headUrl, value);
        }

        public ManagerMallUserExample.Criteria andHeadUrlNotLike(String value) {
            return notLike(headUrl, value);
        }

        public ManagerMallUserExample.Criteria andHeadUrlIn(List<String> values) {
            return in(headUrl, values);
        }

        public ManagerMallUserExample.Criteria andHeadUrlNotIn(List<String> values) {
            return notIn(headUrl, values);
        }

        public ManagerMallUserExample.Criteria andHeadUrlBetween(String value1, String value2) {
            return between(headUrl, value1, value2);
        }

        public ManagerMallUserExample.Criteria andHeadUrlNotBetween(String value1, String value2) {
            return notBetween(headUrl, value1, value2);
        }
        public ManagerMallUserExample.Criteria andPayPwdIsNull() {
            return isNull(payPwd);
        }

        public ManagerMallUserExample.Criteria andPayPwdIsNotNull() {
            return isNotNull(payPwd);
        }

        public ManagerMallUserExample.Criteria andPayPwdEqualTo(String value) {
            return equalTo(payPwd, value);
        }

        public ManagerMallUserExample.Criteria andPayPwdNotEqualTo(String value) {
            return notEqualTo(payPwd, value);
        }

        public ManagerMallUserExample.Criteria andPayPwdGreaterThan(String value) {
            return greaterThan(payPwd, value);
        }

        public ManagerMallUserExample.Criteria andPayPwdGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(payPwd, value);
        }

        public ManagerMallUserExample.Criteria andPayPwdLessThan(String value) {
            return lessThan(payPwd, value);
        }

        public ManagerMallUserExample.Criteria andPayPwdLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(payPwd, value);
        }

        public ManagerMallUserExample.Criteria andPayPwdLike(String value) {
            return like(payPwd, value);
        }

        public ManagerMallUserExample.Criteria andPayPwdNotLike(String value) {
            return notLike(payPwd, value);
        }

        public ManagerMallUserExample.Criteria andPayPwdIn(List<String> values) {
            return in(payPwd, values);
        }

        public ManagerMallUserExample.Criteria andPayPwdNotIn(List<String> values) {
            return notIn(payPwd, values);
        }

        public ManagerMallUserExample.Criteria andPayPwdBetween(String value1, String value2) {
            return between(payPwd, value1, value2);
        }

        public ManagerMallUserExample.Criteria andPayPwdNotBetween(String value1, String value2) {
            return notBetween(payPwd, value1, value2);
        }
        public ManagerMallUserExample.Criteria andMallUserIdIsNull() {
            return isNull(mallUserId);
        }

        public ManagerMallUserExample.Criteria andMallUserIdIsNotNull() {
            return isNotNull(mallUserId);
        }

        public ManagerMallUserExample.Criteria andMallUserIdEqualTo(Long value) {
            return equalTo(mallUserId, value);
        }

        public ManagerMallUserExample.Criteria andMallUserIdNotEqualTo(Long value) {
            return notEqualTo(mallUserId, value);
        }

        public ManagerMallUserExample.Criteria andMallUserIdGreaterThan(Long value) {
            return greaterThan(mallUserId, value);
        }

        public ManagerMallUserExample.Criteria andMallUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(mallUserId, value);
        }

        public ManagerMallUserExample.Criteria andMallUserIdLessThan(Long value) {
            return lessThan(mallUserId, value);
        }

        public ManagerMallUserExample.Criteria andMallUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(mallUserId, value);
        }

        public ManagerMallUserExample.Criteria andMallUserIdIn(List<Long> values) {
            return in(mallUserId, values);
        }

        public ManagerMallUserExample.Criteria andMallUserIdNotIn(List<Long> values) {
            return notIn(mallUserId, values);
        }

        public ManagerMallUserExample.Criteria andMallUserIdBetween(Long value1, Long value2) {
            return between(mallUserId, value1, value2);
        }

        public ManagerMallUserExample.Criteria andMallUserIdNotBetween(Long value1, Long value2) {
            return notBetween(mallUserId, value1, value2);
        }
        public ManagerMallUserExample.Criteria andRemarkIsNull() {
            return isNull(remark);
        }

        public ManagerMallUserExample.Criteria andRemarkIsNotNull() {
            return isNotNull(remark);
        }

        public ManagerMallUserExample.Criteria andRemarkEqualTo(String value) {
            return equalTo(remark, value);
        }

        public ManagerMallUserExample.Criteria andRemarkNotEqualTo(String value) {
            return notEqualTo(remark, value);
        }

        public ManagerMallUserExample.Criteria andRemarkGreaterThan(String value) {
            return greaterThan(remark, value);
        }

        public ManagerMallUserExample.Criteria andRemarkGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(remark, value);
        }

        public ManagerMallUserExample.Criteria andRemarkLessThan(String value) {
            return lessThan(remark, value);
        }

        public ManagerMallUserExample.Criteria andRemarkLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(remark, value);
        }

        public ManagerMallUserExample.Criteria andRemarkLike(String value) {
            return like(remark, value);
        }

        public ManagerMallUserExample.Criteria andRemarkNotLike(String value) {
            return notLike(remark, value);
        }

        public ManagerMallUserExample.Criteria andRemarkIn(List<String> values) {
            return in(remark, values);
        }

        public ManagerMallUserExample.Criteria andRemarkNotIn(List<String> values) {
            return notIn(remark, values);
        }

        public ManagerMallUserExample.Criteria andRemarkBetween(String value1, String value2) {
            return between(remark, value1, value2);
        }

        public ManagerMallUserExample.Criteria andRemarkNotBetween(String value1, String value2) {
            return notBetween(remark, value1, value2);
        }
        public ManagerMallUserExample.Criteria andUserTypeIsNull() {
            return isNull(userType);
        }

        public ManagerMallUserExample.Criteria andUserTypeIsNotNull() {
            return isNotNull(userType);
        }

        public ManagerMallUserExample.Criteria andUserTypeEqualTo(Integer value) {
            return equalTo(userType, value);
        }

        public ManagerMallUserExample.Criteria andUserTypeNotEqualTo(Integer value) {
            return notEqualTo(userType, value);
        }

        public ManagerMallUserExample.Criteria andUserTypeGreaterThan(Integer value) {
            return greaterThan(userType, value);
        }

        public ManagerMallUserExample.Criteria andUserTypeGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(userType, value);
        }

        public ManagerMallUserExample.Criteria andUserTypeLessThan(Integer value) {
            return lessThan(userType, value);
        }

        public ManagerMallUserExample.Criteria andUserTypeLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(userType, value);
        }

        public ManagerMallUserExample.Criteria andUserTypeIn(List<Integer> values) {
            return in(userType, values);
        }

        public ManagerMallUserExample.Criteria andUserTypeNotIn(List<Integer> values) {
            return notIn(userType, values);
        }

        public ManagerMallUserExample.Criteria andUserTypeBetween(Integer value1, Integer value2) {
            return between(userType, value1, value2);
        }

        public ManagerMallUserExample.Criteria andUserTypeNotBetween(Integer value1, Integer value2) {
            return notBetween(userType, value1, value2);
        }
        public ManagerMallUserExample.Criteria andStatusIsNull() {
            return isNull(status);
        }

        public ManagerMallUserExample.Criteria andStatusIsNotNull() {
            return isNotNull(status);
        }

        public ManagerMallUserExample.Criteria andStatusEqualTo(Integer value) {
            return equalTo(status, value);
        }

        public ManagerMallUserExample.Criteria andStatusNotEqualTo(Integer value) {
            return notEqualTo(status, value);
        }

        public ManagerMallUserExample.Criteria andStatusGreaterThan(Integer value) {
            return greaterThan(status, value);
        }

        public ManagerMallUserExample.Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(status, value);
        }

        public ManagerMallUserExample.Criteria andStatusLessThan(Integer value) {
            return lessThan(status, value);
        }

        public ManagerMallUserExample.Criteria andStatusLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(status, value);
        }

        public ManagerMallUserExample.Criteria andStatusIn(List<Integer> values) {
            return in(status, values);
        }

        public ManagerMallUserExample.Criteria andStatusNotIn(List<Integer> values) {
            return notIn(status, values);
        }

        public ManagerMallUserExample.Criteria andStatusBetween(Integer value1, Integer value2) {
            return between(status, value1, value2);
        }

        public ManagerMallUserExample.Criteria andStatusNotBetween(Integer value1, Integer value2) {
            return notBetween(status, value1, value2);
        }
    }
}